@import "./sass/public";

.jumbotron {
    position: relative;
    overflow: hidden;
    width: 100%;
    z-index: 0;
    height: 320px;
    background: no-repeat fixed center center;
    background-size: cover;
    padding-top: $header-height;
    padding-bottom: $header-height;
    color: $gray-200;
    .container {
        height: 100%;
    }
    h1 {
        font-size: 3rem;
    }
    p {
        font-size: 1.5rem;
        font-weight: 100;
    }
}

.tags__warp, .j-archives-times {
    margin: 70px auto;
    min-height: 42.5vh;
}

.tags__item {
    display: inline-block;
    padding: 4px 10px 3px 10px;
    border: 1px solid #f2f2f2;
    color: #808080;
    font-size: 1.3rem;
    border-radius: 2px;
    margin: 0 7px 10px 0;
    position: relative;
    transition: border .5s ease-out;
    background-color: #fff;
    span {
        transition: opacity .5s ease-out;
    }
    &::before, &::after {
        box-sizing: border-box;
        border: 1px solid transparent;
        width: 0;
        height: 0;
        content: '';
        display: block;
        position: absolute;
    }
    &::before {
        bottom: 0;
        right: 0;
        transition: border-color 0s ease-in 0.4s, width 0.2s ease-in 0.2s, height 0.2s ease-in;
    }
    &::after {
        top: 0;
        left: 0;
        transition: border-color 0s ease-in 0.8s, width 0.2s ease-in 0.6s, height 0.2s ease-in 0.4s;
    }

    &:hover, &.active {
        color: $logo-color;
        // border-color: @logoColor;
        // background-color: rgba(34, 187, 149, 0.05);
        //span:not(.tags-icon){
        //    opacity: 0;
        //}
        //span.tags-icon{
        //    opacity: 1;
        //}
        &::before, &::after {
            width: 100%;
            height: 100%;
        }
        &::before {
            border-bottom-color: $logo-color;
            border-left-color: $logo-color;
            transition: border-color 0s ease-out 0.4s, width 0.2s ease-out 0.4s, height 0.2s ease-out 0.6s;
        }
        &::after {
            border-top-color: $logo-color;
            border-right-color: $logo-color;
            transition: width 0.2s ease-out, height 0.2s ease-out 0.2s;
        }
    }
    //span.tags-icon{
    //    position: absolute;
    //    opacity: 0;
    //    width: 100%;
    //    height: 100%;
    //    left: 0;
    //    top: 0;
    //    z-index: 2;
    //    text-align: center;
    //    vertical-align: middle;
    //}
}

.j-archives-times {
    // width: 700px;
    color: #333;
    padding: 2rem 1.5rem 5rem;
    background-color: $white;
    border-radius: .5rem;
    margin-bottom: 2rem;
    box-shadow: 0 0 5px rgba(0, 0, 0, .1);
    .j-divider {
        text-align: right;
    }
    .j-divider span {
        margin-right: 30px;
    }
    .j-divider:last-child {
        display: none;
    }
}

.j-archives-item {
    .j-start-date {
        font-size: 18px;
    }
    .j-activity {
        padding: 10px 0 10px 50px;
        position: relative;
        font-size: 14px;
        min-height: 32px;
        &::before {
            width: 1px;
            position: absolute;
            top: 20px;
            left: 14px;
            height: 100%;
            border-left: 1px solid #CCC;
            content: '';
        }
        &:last-child::before {
            border: 0;
        }
    }
    .j-timeline {
        width: 100px;
        float: left;
        &::before {
            position: absolute;
            top: 17px;
            left: 11px;
            display: block;
            width: 7px;
            height: 7px;
            background-color: #EEE;
            border: 1px solid gray;
            border-radius: 5px;
            content: '';
        }
    }
    .j-content {
        padding-left: 100px;
        word-break: break-all;
    }
    .j-article-info {
        cursor: default;
    }
    .j-article-info li {

        font-size: 12px;
        letter-spacing: -.2px;
        padding: 0;
        margin: 0 10px 0 0;
        color: #748594;
        position: relative;
        line-height: 1.5;
        a {
            cursor: default;
            color: #748594;
            vertical-align: middle;
        }
    }
    .j-article-info i, .j-article-info img {
        & + span, & + a {
            // margin-left: 5px;
        }

    }
    .j-article-info .article-avater {
        padding: 1px;
        vertical-align: middle;
        border-radius: 50%;
        border: 1px solid $border-color;
        overflow: hidden;
    }
    .j-article-title {
        font-weight: 100;
        color: $info-color;
        margin-bottom: .25rem;
    }

}

.j-divider {
    position: relative;
}

.j-divider:before {
    content: "";
    display: block;
    width: 100%;
    height: 1px;
    background: #eee;
    position: absolute;
    top: 10px;
    left: 0;
}

.j-divider span {
    display: inline-block;
    background: #fff;
    padding: 0 5px 0 18px;
    position: relative;
    margin-left: 30px;
    color: $main-title-sub-color;
}
